public class player {
		
		
		private String name;
		private int strength;
		private int defense;
		private int health;
		private int gold;
		
		
		player(String temp_name) {
			name = temp_name;
			health = 1000;
			defense = 20;
		}
		
		player(String temp_name, int temp_defense, int temp_health, int temp_armour)
		{
			name = temp_name;
			health = temp_health;
			defense = temp_defense;
			
		}
		
		public void setName(String temp_name) {
			name = temp_name;
		}
		
		public String getName() {
			return name;
		}
		
		public int getHealth() {
			return health;
		}
		
		public void setHealth(int newhealth) {
			health = newhealth;
			
		}
		
		public void takeDamage(int Tdamage) {
			health = health - Tdamage;
		
		}
		
		public void setStrength(int temp_strength) {
			strength = temp_strength;
		}
		//get strength
		
		public void heal(int healamount){
			health += healamount;
		}
		
		public int getStrength() {
			return strength;
		}
		
		public void setDefense(int temp_defense) {
			defense = temp_defense;
		}
		
		public int getDefense () {
			return  defense;
		}
		
		public void getDamage(int damage) {
			health -= damage;
		}
		
		public void addDefense(int debuff) {
			defense = defense + debuff;
		}
		
		public void setGold(int goldamount) {
			gold += goldamount;
		}
		
		public int getGold () {
			return gold;
		
		}
	}


